#ifndef RESTOREWIDGET_H
#define RESTOREWIDGET_H

#include <QtCore>
#include <QtGui>
#include <QtSql>


#include "ui_restorewidget.h"
#include "fbrestore.h"

class FBRestore;

class RestoreWidget: public QWidget, private Ui::RestoreWidget
{
Q_OBJECT

public:

RestoreWidget();
~RestoreWidget();

public slots:

void run_();
void write_log(QString s);
void enable_rbutton();
void close_restore();
void setBackupFileName();
void setDBFileName();

signals:

private:

FBRestore * fbrestore;

protected:

void closeEvent(QCloseEvent * e);

};

#endif // RESTOREWIDGET_H
